package com.netty;


import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class SocketClient {

    public static void main(String[] args) throws Exception {
        Socket socket = new Socket("127.0.0.1",9090);
        OutputStream out = socket.getOutputStream();
        out.write("Helllo".getBytes("utf-8"));
        out.close();
        socket.close();
    }
}


